<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>华胜后台管理</title>
    <link rel="stylesheet" type="text/css" href="css/unified.css">
    <script src="plugins/layui/layui.js"></script>

    <style type="text/css">
        .searchform span{margin-left: 10px}
        .layui-table-view .layui-table td, .layui-table-view .layui-table th{padding: 0}
    </style>
</head>
<body>


    <div class="breadcrumbnav">
        <span class="layui-breadcrumb " lay-separator="·">
          <a ><cite>首页</cite></a>
          <a ><cite>库存管理</cite></a>
          <a ><cite>当前库存</cite></a>
          <a ><cite>库存下限提醒设置</cite></a>
        </span>
    </div>
    <div class="kit-doc">
        <!-- 标题 -->
        <div class="kit-doc-title">
            <fieldset>
                <legend> <a name="blockquote">库存产品下限报警</a><span class="titles">仓库:泰比胜总部仓库</span>
                </legend>
            </fieldset>
        </div>
        <!-- 标题 end-->
        
        <!-- 概述 -->
        <div class="boderbox">
            <div class="rowtop">
                <button class="layui-btn addbtn" >
                  选择仓库
                </button>
                <button class="layui-btn addbtn">
                   修改数量
                </button>
          
                <form class="layui-form searchform" action="" id="comSearchForm">
                    <div class="layui-input-inline">
                      <select name="city" lay-verify="" >
                        <option value="010">条码</option>
                        <option value="021">彬彬木业</option>
                        <option value="0571" selected>layim</option>
                      </select> 
                    </div>
                     <div class="layui-input-inline">
                      <input type="text" name="text" required lay-verify="required" placeholder="输入关键字" autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-btn-group">
                      <button class="layui-btn">搜索</button>
                      <button class="layui-btn layui-btn-normal">重置</button>
                    </div>
                </form> 
            </div>
           
            <div class="layui-tab-content notab">
                <div class="layui-tab-item layui-show">
                     <table  class="layui-table " lay-filter="table100" id="SDtable"></table>
                     <!--<table class="layui-table "  lay-size="lg" lay-data="{page:'false', id:'commodityclass',height: 'full-30'}" lay-filter="test" id="commodityclass">-->

                        <!--<thead>
                            <tr>
                                <th lay-data="{field:'a1', width:60}">序号</th>
                                <th lay-data="{field:'a2', width:150}">条码</th>
                                <th lay-data="{field:'Consignee', width:150}">产品名称</th>
                                <th lay-data="{field:'phone', width:100}">库存数量</th>
                                <th lay-data="{field:'operation', width:100}">库存下限</th>
                            </tr> 
                        </thead>
                        <tbody>
                            <tr>
                                <td>1</td>
                                <td>6948505400029</td>
                                <td>那胜牌欧美酸枝</td>
                                <td>203</td>
                                <td>500</td>
                            </tr>
                            
                            <tr>
                                 <td>1</td>
                                <td>6948505400029</td>
                                <td>那胜牌欧美酸枝</td>
                                <td>203</td>
                                <td>500</td>
                            </tr>
                        </tbody>-->
                    </table>
                  </div>
              </div>

             <script src="../js/jquery-3.2.1.min.js"></script>
             <script src="js/allajax.js"></script>
            <script>


            layui.use(['layer', 'form', 'element','table','laydate'], function(){
                  var layer = layui.layer
                  ,form = layui.form
                  ,element = layui.element
                  ,table = layui.table
                  ,laydate = layui.laydate,$ = layui.jquery;
                
                // Stock_OutSelect 出库-查
//				var tableArray = new Array()  ;
//				AjaxPostFn(Stock_OutSelect+'?page=1&pagesize=10',"{}",function(jsonData){
//					$.each(jsonData.pageInfo.list,function(i,obj){
//						console.log(obj.bizRepositoryOut)
//						if(obj.bizRepositoryOut != null){
//							tableArray.push({
//								"id":""
//								,"barCode":obj.bizRepositoryOut.barCode
//								,"name":''
//								,"theNum":obj.bizRepositoryOut.theNum
//								,"no1":""
//							});
//						}
//						
//				
//					})
//					console.log(tableArray)
//					
//					//展示已知数据
//					table.render({
//					    elem: '#SDtable'
//					    ,cols: [[ //标题栏
//							{field:'id', width:60 , type:'numbers',  title:'序号',sort: true }
//					        ,{field:'barCode',width:200 , title:'条码'}
//					        ,{field:'name',  title:'产品名称'}
//					        ,{field:'theNum', width:70  , title:'移出数量'}
//					        ,{field:'no1', width:100 , title:'库存下限'}
//
//					    ]]
//					    ,data: tableArray
//					    ,size:'lg'
//					    ,even:true
//					    ,page: true //是否显示分页
//					});
//					   
//				}); 


            }); 
//Stock_OutSelect

              // var message;
              // layui.config({
              //     base: 'build/js/'
              // }).use(['app', 'message'], function() {
              //     var app = layui.app,
              //         $ = layui.jquery,
              //         layer = layui.layer;
              //     //将message设置为全局以便子页面调用
              //     message = layui.message;
              //     //主入口
              //     app.set({
              //         type: 'iframe'
              //     }).init();
                  
              // });

// layui.use('element', function(){
//   var $ = layui.jquery
//   ,element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块
  
  
  
//   $('.site-demo-active').on('click', function(){
//     var othis = $(this), type = othis.data('type');
//     active[type] ? active[type].call(this, othis) : '';
//   });
  
//   //Hash地址的定位
//   var layid = location.hash.replace(/^#test=/, '');
//   element.tabChange('test', layid);
  
//   element.on('tab(test)', function(elem){
//     location.hash = 'test='+ $(this).attr('lay-id');
//   });
  
// });


        
    

            </script>
        </div>
        <!-- 概述 end-->
    </div>
</body>
</html>